版权声明:本文为博主原创文章,转载请注明出处:http://blog.jerkybible.com/2013/10/20/2013-10-20-CODE 86 Permutations II/
访问原文「CODE 86. Permutations II」
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,[1,1,2]
have the following unique permutations:[1,1,2]
, [1,2,1]
,
and [2,1,1]
.
|
|